package rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

public interface MySQL extends Remote {

	/**
	 * @author NeverDie
	 * @since 2012.9.19~9.21
	 */
	
	public ArrayList<Goods> getAllGoods() throws RemoteException;
	
	public ArrayList<Bill> getAllBills() throws RemoteException;
	
	public ArrayList<Member> getAllMembers() throws RemoteException;
	
	public void add(Goods goods) throws RemoteException;
	
	public void add(Member member) throws RemoteException;
	
	public void add(Bill bill) throws RemoteException;
	
	public void delete(Goods goods) throws RemoteException;
	
	public void delete(Member member) throws RemoteException;
	
	public Goods select(Goods goods) throws RemoteException; 
	
	public Member select(Member member) throws RemoteException;
	
	public void alter(Member member) throws RemoteException;
	
	public void alter(Goods goods) throws RemoteException;
}
